package com.ldu.exam.dao;

import java.io.Serializable;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.ldu.exam.model.AccountModel;
import com.ldu.exam.model.TestPaperModel;

public interface TestPaperRepository extends JpaRepository<TestPaperModel, Serializable>,JpaSpecificationExecutor<TestPaperModel>{

	Page<TestPaperModel> findByNameContaining(String name, Pageable page);
}
